package com.wsj.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.wsj.web.vo.homeSite.Toptitle;


public interface ITopTitleDao {

	public void saveOrUpdate(Toptitle topTitle) throws DataAccessException;
	
	public void delete(Integer id) throws DataAccessException;
	
	public Toptitle loadById(Integer id) throws DataAccessException;
	
	public List<Toptitle> getAllList() throws DataAccessException;
	
	public List<Toptitle> getTopList(Integer top) throws DataAccessException;
	
}
